provider Projects PUT /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/
@utdk/sentry /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/
Update a Project
Update various attributes and configurable settings for the given project. Note that solely having the **`project:read`** scope restricts updatable settings to `isBookmarked`, `autofixAutomationTuning`, `seerScannerAutomation`, `preprodSizeStatusChecksEnabled`, `preprodSizeStatusChecksRules`, `preprodSizeEnabledQuery`, `preprodDistributionEnabledQuery`, `preprodSizeEnabledByCustomer`, `preprodDistributionEnabledByCustomer`, and `preprodDistributionPrCommentsEnabledByCustomer`.
organization_id_or_slug path required
The ID or slug of the organization the resource belongs to.
string
project_id_or_slug path required
The ID or slug of the project the resource belongs to.
string

Try it

Authentication
Configure credentials for API Reference
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

updateAProject
PUT/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/
Update various attributes and configurable settings for the given project. Note that solely having the **`project:read`** scope restricts updatable settings to `isBookmarked`, `autofixAutomationTuning`, `seerScannerAutomation`, `preprodSizeStatusChecksEnabled`, `preprodSizeStatusChecksRules`, `preprodSizeEnabledQuery`, `preprodDistributionEnabledQuery`, `preprodSizeEnabledByCustomer`, `preprodDistributionEnabledByCustomer`, and `preprodDistributionPrCommentsEnabledByCustomer`.

Parameters

required

The ID or slug of the organization the resource belongs to.

required

The ID or slug of the project the resource belongs to.

Input

Enables starring the project within the projects tab. Can be updated with **`project:read`** permission.

The name for the project

Uniquely identifies a project and is used for the interface.

The platform for the project

Custom prefix for emails from this project.

The email subject to use (excluding the prefix) for individual alerts. Here are the list of variables you can use: - `$title` - `$shortID` - `$projectID` - `$orgID` - `${tag:key}` - such as `${tag:environment}` or `${tag:release}`.

Automatically resolve an issue if it hasn't been seen for this many hours. Set to `0` to disable auto-resolve.

A JSON mapping of context types to lists of strings for their keys. E.g. `{'user': ['id', 'email']}`

A list of strings with tag keys to highlight on this project's issues. E.g. `['release', 'environment']`

Enable on-demand source context fetching from SCM integrations for stack traces.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sentry from '@utdk/sentry';

await sentry.updateAProject()